package com.wifi.a007.wifiFragment;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v4.app.Fragment;
import android.support.v4.widget.TextViewCompat;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.wifi.a007.R;
import com.wifi.a007.ViewName;


/**
 * Created by liyuanjing on 2015/9/28.
 */
public class LocalNetFragment extends Fragment  {



    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view=inflater.inflate(R.layout.localnet_fragment_main_layout,container,false);

        ViewName.init(R.layout.localnet_fragment_main_layout,view);
        return view;
    }



    private void init(View view){

    }
    private Handler   hander=new Handler(){

        @Override
        public void handleMessage(Message msg) {
            switch (msg.what){

                case 0x007:

                    String string007 = (String)msg.obj;
                   ViewName.machine.setText(string007);




                break;


                default:




            }


        }
    };

}
